@extends('home.pc.public.public')

@section('main')
    <div class="miya_sitemap_box">
        <div class="miya_sitemap_box_left">
            <div class="miya_template_left_box">
                <h3 class="miya_template_left_box_title">{{ $pageLabels['about'] }}</h3>
                <ul class="miya_template_left_box_ul">
                    @foreach($pages['about'] as $value)
                        <li><a href="{{ route('page',['about',$value['id']]) }}">{{ $value['name'] }}</a></li>
                    @endforeach
                </ul>
            </div>
            <div class="miya_template_left_box">
                <h3 class="miya_template_left_box_title">产品中心</h3>
                <ul class="miya_template_left_box_ul">
                    @foreach($sorts['product'] as $value)
                        <li><a href="{{ route('sort',['product',$value['id']]) }}">{{ $value['name'] }}</a></li>
                    @endforeach
                </ul>
            </div>
            <div class="miya_template_left_box">
                <h3 class="miya_template_left_box_title">新闻中心</h3>
                <ul class="miya_template_left_box_ul">
                    @foreach($sorts['new'] as $value)
                        <li><a href="{{ route('sort',['new',$value['id']]) }}">{{ $value['name'] }}</a></li>
                    @endforeach
                </ul>
            </div>
            <div class="miya_template_left_box">
                <h3 class="miya_template_left_box_title">案例中心</h3>
                <ul class="miya_template_left_box_ul">
                    @foreach($sorts['case'] as $value)
                        <li><a href="{{ route('sort',['case',$value['id']]) }}">{{ $value['name'] }}</a></li>
                    @endforeach
                </ul>
            </div>
            @include('home.pc.public.left')
        </div>
        <div class="miya_sitemap_box_right frame_box">
            <h3 class="miya_sitemap_box_right_title">网站地图</h3>
            @include('home.pc.public.frame')
            <div class="miya_sitemap_box_right_chunkurl">
                @foreach($url as $chunktitle => $urlArray)
                    <h4 class="miya_sitemap_box_right_chunkurl_h3">{{ $chunktitle }}</h4>
                    <ul class="miya_sitemap_box_right_chunkurl_ul">
                        @foreach($urlArray as $value)
                            <li><a href="{{ $value['url'] }}">{{ $value['title'] }}</a></li>
                        @endforeach
                        <div class="clearfix"></div>
                    </ul>
                @endforeach
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
@endsection